FluentForm\App\Services\Form\FormValidationService B

Total Complexity 92
Dependencies 10
Dependents 1
Total lines 690
Lines of code 479
Logical lines of code 202
Comment lines 94
Methods 23
Properties 3

Methods 23

Method Rating Maintainability Complexity Lines of code
validateSubmission()
B
31 18 130
checkIpRestriction()
S
57 7 14
checkCountryRestriction()
S
59 7 13
validateReCaptcha()
S
50 5 30
handleDenyEmptySubmission()
S
54 5 20
containsRestrictedKeywords()
S
58 5 15
checkKeywordsMatching()
S
61 5 13
delegateValidations()
S
59 5 13
validateHCaptcha()
S
51 4 27
validateTurnstile()
S
52 4 26
isSpam()
S
51 3 33
validateNonce()
S
53 3 24
validateRestrictions()
S
53 3 23
preventMaliciousAttacks()
S
53 3 22
getIpInfo()
S
57 3 17
checkKeyWordRestriction()
S
56 2 18
handleSpamError()
S
62 3 10
handleRestrictedSubmission()
S
64 2 10
__construct()
S
80 1 3
setForm()
S
81 1 3
validateInput()
S
78 1 3
setFormData()
S
81 1 3
throwValidationException()
S
66 1 9